<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="referrer" content="never">
    <title>导航</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        ul {
            list-style: none;
        }

        ul {
            display: flex;
            width: 700px;
            background-color: #0f0;
        }

        li {
            width: 100px;
            text-align: center;
            line-height: 100px;
        }

        li:nth-last-child(2) {
            margin-right: auto;
        }
    </style>
</head>
<body>
    <ul>
        <li>导航_1</li>
        <li>导航_2</li>
        <li>导航_3</li>
        <li>导航_4</li>
        <li>登录</li>
    </ul>
    <script type="text/javascript">
        
    </script>
</body>
</html>